package com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "permission_id", type = IdType.ASSIGN_ID)
    private String permissionId;

    /**
     * 权限地址
     */
    @TableField("permission_url")
    private String permissionUrl;

    /**
     * 菜单名称
     */
    @TableField("permission_menu_name")
    private String permissionMenuName;
    /**
     * 是否有子菜单
     */
    @TableField("permission_end")
    private String permissionEnd;
    /**
     * 父节点id
     */
    @TableField("permission_parent_id")
    private String permissionParentId;

}
